package com.yl.pattern.creatormodel.factory.abstract_factory;

/**
 * @Author 小羊
 * @Date 29/10/2024下午 9:14
 * @ClassName ItalyDessertFactory
 * @Description 意大利风味
 */
public class ItalyDessertFactory implements DessertFactory {
    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new Tiramisu();
    }
}
